$(function(){
	$(".choice-doctorSubmit button").on("click",function(){
		var orderid= utilModule.getQueryString("orderid");
		var money= utilModule.getQueryString("money");
		var buyMessage=$("textarea").val();
		if(buyMessage==""){
			mui.alert("退款说明必填");
			return false;
		}
		var param={"orderId":orderid,"goodsAmount":money,"buyMessage":buyMessage}
		onlineContinuationModule.insertMallOrderRefund(param,callBackSlider);
		function callBackSlider(data){
			if(data==1){
				mui.alert("已提交",function(e){
					history.back(-1);
				});
			}else{
				mui.toast("提交失败");
			}
		}
	});
});
